<div class=grid_12>
 
      <br />
            <strong><?php echo $this->Html->link($this->Html->image('avatar_add.png', array('border' => '2', 'width'=>'20', 'height'=>'20')) . ' Add Baby Dedications'  , array('controller'=>'Babydedications', 'action' => 'add') ,array('target' => '_self', 'escape' => false));?> </strong>

		<div class=clear></div>
 
</div>
<!-- DATA TABLE STARTS-->
<div class=grid_12> 
	<div class=block-border>
		<div class=block-header> 
			<h1>SDA Church - Kwabrafoso: Baby Dedications List</h1>
			<span></span> 
		</div>
		<div class=block-content> 
			<table id="table-example" class="table"> 
				<thead> 
					<tr>
						<th>ID</th>
						<th>Baby's Surname</th>
						<th>Baby's Middle Name</th>
						<th>Baby's Firstname</th>
						<th>Date of Birth</th>
						<th>Place of Birth</th>
						<th>Father's Name</th>
						<th>Mother's Name</th>
						<th>Action</th>
					</tr> 
				</thead> 
				<tbody> 
					<?php foreach ($in_record_data as $babydedication) { ?>

						<tr> 
							<td><?php echo $babydedication['Babydedication']['id']; $id = $babydedication['Babydedication']['id'];?>  </td>
							<td><?php echo $babydedication['Babydedication']['bsname']; ?>  </td>
							<td><?php echo $babydedication['Babydedication']['bmname']; ?>  </td>
							<td><?php echo $babydedication['Babydedication']['bfname']; ?>  </td>
							<td><?php echo $babydedication['Babydedication']['dob']; ?>  </td>
							<td><?php echo $babydedication['Babydedication']['pob']; ?>  </td>
							<td><?php echo $babydedication['Babydedication']['fatname']; ?>  </td>
							<td><?php echo $babydedication['Babydedication']['motname']; ?>  </td>
							<td><?php echo $this->Html->link('Edit ',array('controller' => 'babydedications', 'action' => "edit/$id")); ?> | <?php echo $this->Html->link('Report ',array('controller' => 'babydedications', 'action' => "report/$id")); ?></td>
						</tr>
					<?php } ?>
				</tbody> 
			</table> 
		</div> 
	</div> 
</div> 